Companion

object Companion

Properties

MAX_VALUE
Link copied to clipboard
const val MAX_VALUE: Float = 3.4028235E38f

A constant holding the largest positive finite value of Float.

MIN_VALUE
Link copied to clipboard
const val MIN_VALUE: Float = 1.4E-45f

A constant holding the smallest positive nonzero value of Float.

NaN
Link copied to clipboard
const val NaN: Float

A constant holding the "not a number" value of Float.

NEGATIVE_INFINITY
Link copied to clipboard
const val NEGATIVE_INFINITY: Float

A constant holding the negative infinity value of Float.

POSITIVE_INFINITY
Link copied to clipboard
const val POSITIVE_INFINITY: Float

A constant holding the positive infinity value of Float.

SIZE_BITS
Link copied to clipboard
const val SIZE_BITS: Int = 32

The number of bits used to represent an instance of Float in a binary form.

SIZE_BYTES
Link copied to clipboard
const val SIZE_BYTES: Int = 4

The number of bytes used to represent an instance of Float in a binary form.

Extensions

fromBits
Link copied to clipboard
expect fun Float.Companion.fromBits(bits: Int): Float

Returns the Float value corresponding to a given bit representation.

actual inline fun Float.Companion.fromBits(bits: Int): Float

Returns the Float value corresponding to a given bit representation.

actual inline fun Float.Companion.fromBits(bits: Int): Float

Returns the Float value corresponding to a given bit representation.

actual inline fun Float.Companion.fromBits(bits: Int): Float

Returns the Float value corresponding to a given bit representation.